export default {
  codeToToken: `${process.env.API_SERVER}/codeCallback`,
  /*
   * 登陆验证码
   * */
  authCaptcha: '/api/auth/captcha',
  /*
   * 登陆接口
   * */
  authLogin: '/api/auth/login',
  /*
   * 获取用户信息
   * */
  userInfo: '/api/user/info',
  /*
   * 获取菜单信息
   * */
  getMenuInfo: '/api/menu/getMenuInfo',
  /*
   * 获取按钮权限
   * */
  getBtnPermission: '/api/menu/getBtnPermission',

  /*
   * 设备列表
   * */
  deviceMaster: '/api/device/master',

  /*
   * 设备列表 - 推送功能
   * */
  apiPushSingle: '/api/push/single',

  /*
   * 添加设备
   * */
  deviceAdd: '/api/device/add',

  /*
   * 更新设备
   * */
  deviceUpdate: '/api/device',

  /*
   * 删除设备
   * */
  deviceDelete: '/api/device',
  /*
   * 设备离在线记录
   * */
  deviceOnlineState: '/api/device/onlineState',
  /*
   * 设备探测
   * */
  deviceRefreshConn: '/api/device/refreshConn',

  /*
   * 升级文件列表
   * */
  apiFileGetList: '/api/file/getList',
  /*
   * 升级设备
   * */
  deviceUpgradeSingle: '/api/upgrade/single',

  /*
   * 生产详情列表
   * */
  weightGetList: '/api/weight/getList',

  /*
   * 生产详情删除或者更新
   * */
  apiWeight: '/api/weight',

  /*
   * 生产详情删除或者更新
   * */
  apiWeightAdd: '/api/weight',

  /*
   * 生产详情导出
   * */
  apiWeightExport: '/api/weight/export',

  /*
   * 用户接口
   * */
  apiUserGetList: '/api/user/getList',
  apiUserAdd: '/api/user/add',
  apiUser: '/api/user',
  updatePassword: '/api/user/modifyPassword',

  /*
   * 升级文件接口
   * */
  apiFile: '/api/file',
  apiFileDownload: '/api/file/download',
  apiFileUpload: '/api/file/upload',

  /*
   * 日志模块
   * */
  apiLogGetList: '/api/log/getList',
  apiLogDownload: '/api/log/download',

  /*
   * 产品模块接口
   * */
  apiProductGetList: '/api/product/getList',
  apiProductAdd: '/api/product',
  apiProduct: '/api/product',

  /*
   * 产线模块
   * */
  apiProductLineGetList: '/api/productLine/getList',
  apiProductLine: '/api/productLine',

  /*
   * 班次模块
   * */
  apiClassGetList: '/api/class/getList',
  apiClass: '/api/class',

  /*
   * 排产
   * */
  apiProduceScheduleGetList: '/api/produceSchedule/getList',
  apiProduceSchedule: '/api/produceSchedule',
  apiProduceScheduleExport: '/api/produceSchedule/export',
  apiProduceSchedulePush: '/api/produceSchedule/push',

  /*
   * 订单模块
   * */
  apiOrderGetList: '/api/order/getParentList',
  apiOrder: '/api/order',
  apiOrderGetChildrenList: '/api/order/getChildrenList',

  /*
   * 采购详情
   * */
  apiPurchaseGetList: '/api/purchase/getList',
  apiPurchase: '/api/purchase',
  apiPurchaseGetChildrenList: '/api/purchase/getChildrenList',

  /*
   * 库存
   * */
  apiStockGetList: '/api/stock/getList',
  apiStock: '/api/stock',

  /*
   * 领用
   * */
  apiReceiptGetList: '/api/receipt/getList',
  apiReceipt: '/api/receipt',

  /*
   * 销售
   * */
  apiSaleGetList: '/api/sale/getList',
  apiSale: '/api/sale',
  apiSaleExport: '/api/sale/export',

  /*
   * 员工管理
   * */
  apiEmployeeGetList: '/api/employee/getList',
  apiEmployee: '/api/employee',

  /*
   * 客户管理
   * */
  apiCustomerGetList: '/api/customer/getList',
  apiCustomer: '/api/customer',

  /*
   * 收支详情
   * */
  apiBalanceDetailGetList: '/api/balanceDetail/getList',
  apiBalanceDetail: '/api/balanceDetail',

  /*
   * 银行模块
   * */
  apiBankAccountGetBalance: '/api/bankAccount/getBalance',
  apiBankAccountGetList: '/api/bankAccount/getList',
  apiBankAccount: '/api/bankAccount',

  /*
   * 采购商品
   * */
  apiPurchaseCommodityGetList: '/api/purchaseCommodity/getList',
  apiPurchaseCommodity: '/api/purchaseCommodity',

  /*
   * 采购入库
   * */
  apiPurchaseReceiptGetList: '/api/purchaseReceipt/getList',
  apiPurchaseReceipt: '/api/purchaseReceipt',

  /*
   * 曲线
   * */
  apiStatistics: '/api/statistics/curve',
  apiStatisticsCard: '/api/statistics/card',

  /*
   * 采购付款
   * */
  apiPurchasePaymentDetailGetList: '/api/purchasePaymentDetail/getList',
  apiPurchasePaymentDetail: '/api/purchasePaymentDetail',

  /*
   * 供应商管理
   * */
  apiPurchaseSupplierGetList: '/api/purchaseSupplier/getList',
  apiPurchaseSupplierDetail: '/api/purchaseSupplier',

  /*
   * 成品库存
   * */
  apiFinishedProductStockGetList: '/api/finishedProductStock/getList',
  apiFinishedProductStockDetail: '/api/finishedProductStock',

  /*
   *  边料库存
   * */
  apiOffcutStockList: '/api/offcutStock/getList',
  apiOffcutStockDetail: '/api/offcutStock',

  /*
   * 到票详情
   * */
  apiPurchaseReceivedInvoiceDetailGetList:
    '/api/purchaseReceivedInvoiceDetail/getList',
  apiPurchaseReceivedInvoiceDetail: '/api/purchaseReceivedInvoiceDetail',

  // mock 请求地址
  mockSidebar: '/mock/mockSidebar',
  // 登录接口
  login:
    'https://mockapi.eolinker.com/IkSneiD01148b5d55de2eb3060c4fa4b4355a7b75da9f94/mock/login',
  // 产品列表
  productPage:
    'https://mockapi.eolinker.com/IkSneiD01148b5d55de2eb3060c4fa4b4355a7b75da9f94/mock/product/page',
  orderPage:
    'https://mockapi.eolinker.com/IkSneiD01148b5d55de2eb3060c4fa4b4355a7b75da9f94/mock/order/page',
  productionLineList:
    'https://mockapi.eolinker.com/IkSneiD01148b5d55de2eb3060c4fa4b4355a7b75da9f94/mock/productionLineList/page',
  schedulingList:
    'https://mockapi.eolinker.com/IkSneiD01148b5d55de2eb3060c4fa4b4355a7b75da9f94/mock/schedulingList/page',
  productionScheduling:
    'https://mockapi.eolinker.com/IkSneiD01148b5d55de2eb3060c4fa4b4355a7b75da9f94/mock/productionScheduling/page',
  toProduceManageDetail:
    'https://mockapi.eolinker.com/IkSneiD01148b5d55de2eb3060c4fa4b4355a7b75da9f94/mock/toProduceManageDetail/page',
  deviceDetail:
    'https://mockapi.eolinker.com/IkSneiD01148b5d55de2eb3060c4fa4b4355a7b75da9f94/mock/deviceDetail/page',
  procurementManageDetail:
    'https://mockapi.eolinker.com/IkSneiD01148b5d55de2eb3060c4fa4b4355a7b75da9f94/mock/procurementManageDetail/page',
  inventoryManage:
    'https://mockapi.eolinker.com/IkSneiD01148b5d55de2eb3060c4fa4b4355a7b75da9f94/mock/inventoryManage/page',
  recipientsDetail:
    'https://mockapi.eolinker.com/IkSneiD01148b5d55de2eb3060c4fa4b4355a7b75da9f94/mock/recipientsDetail/page',
  salesManageDetail:
    'https://mockapi.eolinker.com/IkSneiD01148b5d55de2eb3060c4fa4b4355a7b75da9f94/mock/salesManageDetail/page',
};
